package com.example.bigdemo.logmode.service.Impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.bigdemo.logmode.mapper.snmploggerMapper;
import com.example.bigdemo.logmode.mapper.snmploggerMapper2;
import com.example.bigdemo.logmode.pojo.snmplogger;
import com.example.bigdemo.logmode.service.snmploggerService;
import com.example.bigdemo.sercive.Impl.GetMessageImpl;
import com.example.bigdemo.sercive.Impl.TrapserviceImpl;
import com.example.bigdemo.sercive.Impl.snmpServiceImpl;
import com.example.bigdemo.sercive.snmpService;
import org.slf4j.Logger;
import org.snmp4j.log.LogAdapter;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.text.SimpleDateFormat;
import java.util.Date;

@Service
public class snmploggerServiceImpl extends ServiceImpl<snmploggerMapper,snmplogger> implements snmploggerService {
    @Autowired
    snmploggerMapper snmploggerMapper;

    @Autowired
    snmploggerMapper2 snmploggerMapper2;

    @Autowired
    snmpServiceImpl snmpIMPL;

    @Autowired
    TrapserviceImpl trapIMPL;

    @Autowired
    GetMessageImpl getMessageIMPL;

    String GET="D:\\JAVA\\bin\\java.exe -XX:TieredStopAtLevel=1 -noverify -Dspring.output.ansi.enabled=always -Dcom.sun.management.jmxremote -Dspring.jmx.enabled=true -Dspring.liveBeansView.mbeanDomain -Dspring.application.admin.enabled=true \"-javaagent:B:\\IntelliJ IDEA 2021.3.2\\lib\\idea_rt.jar=32971:B:\\IntelliJ IDEA 2021.3.2\\bin\" -Dfile.encoding=UTF-8 -classpath B:\\Snmp\\bigdemo\\target\\classes;C:\\Users\\Edsion.xxx\\.m2\\repository\\org\\springframework\\boot\\spring-boot-starter-web\\2.7.0\\spring-boot-starter-web-2.7.0.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\org\\springframework\\boot\\spring-boot-starter\\2.7.0\\spring-boot-starter-2.7.0.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\org\\springframework\\boot\\spring-boot\\2.7.0\\spring-boot-2.7.0.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\org\\springframework\\boot\\spring-boot-starter-logging\\2.7.0\\spring-boot-starter-logging-2.7.0.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\ch\\qos\\logback\\logback-classic\\1.2.11\\logback-classic-1.2.11.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\ch\\qos\\logback\\logback-core\\1.2.11\\logback-core-1.2.11.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\org\\apache\\logging\\log4j\\log4j-to-slf4j\\2.17.2\\log4j-to-slf4j-2.17.2.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\org\\apache\\logging\\log4j\\log4j-api\\2.17.2\\log4j-api-2.17.2.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\org\\slf4j\\jul-to-slf4j\\1.7.36\\jul-to-slf4j-1.7.36.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\jakarta\\annotation\\jakarta.annotation-api\\1.3.5\\jakarta.annotation-api-1.3.5.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\org\\yaml\\snakeyaml\\1.30\\snakeyaml-1.30.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\org\\springframework\\boot\\spring-boot-starter-json\\2.7.0\\spring-boot-starter-json-2.7.0.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\com\\fasterxml\\jackson\\core\\jackson-databind\\2.13.3\\jackson-databind-2.13.3.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\com\\fasterxml\\jackson\\core\\jackson-annotations\\2.13.3\\jackson-annotations-2.13.3.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\com\\fasterxml\\jackson\\core\\jackson-core\\2.13.3\\jackson-core-2.13.3.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\com\\fasterxml\\jackson\\datatype\\jackson-datatype-jdk8\\2.13.3\\jackson-datatype-jdk8-2.13.3.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\com\\fasterxml\\jackson\\datatype\\jackson-datatype-jsr310\\2.13.3\\jackson-datatype-jsr310-2.13.3.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\com\\fasterxml\\jackson\\module\\jackson-module-parameter-names\\2.13.3\\jackson-module-parameter-names-2.13.3.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\org\\springframework\\boot\\spring-boot-starter-tomcat\\2.7.0\\spring-boot-starter-tomcat-2.7.0.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\org\\apache\\tomcat\\embed\\tomcat-embed-core\\9.0.63\\tomcat-embed-core-9.0.63.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\org\\apache\\tomcat\\embed\\tomcat-embed-el\\9.0.63\\tomcat-embed-el-9.0.63.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\org\\apache\\tomcat\\embed\\tomcat-embed-websocket\\9.0.63\\tomcat-embed-websocket-9.0.63.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\org\\springframework\\spring-web\\5.3.20\\spring-web-5.3.20.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\org\\springframework\\spring-beans\\5.3.20\\spring-beans-5.3.20.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\org\\springframework\\spring-webmvc\\5.3.20\\spring-webmvc-5.3.20.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\org\\springframework\\spring-aop\\5.3.20\\spring-aop-5.3.20.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\org\\springframework\\spring-context\\5.3.20\\spring-context-5.3.20.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\org\\springframework\\spring-expression\\5.3.20\\spring-expression-5.3.20.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\org\\projectlombok\\lombok\\1.18.24\\lombok-1.18.24.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\org\\slf4j\\slf4j-api\\1.7.36\\slf4j-api-1.7.36.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\net\\bytebuddy\\byte-buddy\\1.12.10\\byte-buddy-1.12.10.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\org\\springframework\\spring-core\\5.3.20\\spring-core-5.3.20.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\org\\springframework\\spring-jcl\\5.3.20\\spring-jcl-5.3.20.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\org\\snmp4j\\snmp4j\\2.8.3\\snmp4j-2.8.3.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\com\\github\\xiaoymin\\knife4j-spring-boot-starter\\3.0.2\\knife4j-spring-boot-starter-3.0.2.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\com\\github\\xiaoymin\\knife4j-spring-boot-autoconfigure\\3.0.2\\knife4j-spring-boot-autoconfigure-3.0.2.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\com\\github\\xiaoymin\\knife4j-spring\\3.0.2\\knife4j-spring-3.0.2.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\com\\github\\xiaoymin\\knife4j-annotations\\3.0.2\\knife4j-annotations-3.0.2.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\io\\swagger\\swagger-annotations\\1.5.22\\swagger-annotations-1.5.22.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\io\\swagger\\core\\v3\\swagger-annotations\\2.1.2\\swagger-annotations-2.1.2.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\com\\github\\xiaoymin\\knife4j-core\\3.0.2\\knife4j-core-3.0.2.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\org\\javassist\\javassist\\3.25.0-GA\\javassist-3.25.0-GA.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\io\\springfox\\springfox-swagger2\\3.0.0\\springfox-swagger2-3.0.0.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\io\\springfox\\springfox-spi\\3.0.0\\springfox-spi-3.0.0.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\io\\springfox\\springfox-schema\\3.0.0\\springfox-schema-3.0.0.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\io\\springfox\\springfox-swagger-common\\3.0.0\\springfox-swagger-common-3.0.0.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\io\\springfox\\springfox-spring-web\\3.0.0\\springfox-spring-web-3.0.0.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\io\\github\\classgraph\\classgraph\\4.8.83\\classgraph-4.8.83.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\io\\springfox\\springfox-spring-webflux\\3.0.0\\springfox-spring-webflux-3.0.0.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\org\\mapstruct\\mapstruct\\1.3.1.Final\\mapstruct-1.3.1.Final.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\io\\springfox\\springfox-spring-webmvc\\3.0.0\\springfox-spring-webmvc-3.0.0.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\io\\springfox\\springfox-core\\3.0.0\\springfox-core-3.0.0.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\io\\springfox\\springfox-oas\\3.0.0\\springfox-oas-3.0.0.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\io\\swagger\\core\\v3\\swagger-models\\2.1.2\\swagger-models-2.1.2.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\io\\springfox\\springfox-bean-validators\\3.0.0\\springfox-bean-validators-3.0.0.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\io\\swagger\\swagger-models\\1.5.22\\swagger-models-1.5.22.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\io\\swagger\\swagger-core\\1.5.22\\swagger-core-1.5.22.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\org\\apache\\commons\\commons-lang3\\3.12.0\\commons-lang3-3.12.0.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\com\\fasterxml\\jackson\\dataformat\\jackson-dataformat-yaml\\2.13.3\\jackson-dataformat-yaml-2.13.3.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\com\\google\\guava\\guava\\27.0.1-android\\guava-27.0.1-android.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\com\\google\\guava\\failureaccess\\1.0.1\\failureaccess-1.0.1.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\com\\google\\guava\\listenablefuture\\9999.0-empty-to-avoid-conflict-with-guava\\listenablefuture-9999.0-empty-to-avoid-conflict-with-guava.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\com\\google\\code\\findbugs\\jsr305\\3.0.2\\jsr305-3.0.2.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\org\\checkerframework\\checker-compat-qual\\2.5.2\\checker-compat-qual-2.5.2.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\com\\google\\errorprone\\error_prone_annotations\\2.2.0\\error_prone_annotations-2.2.0.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\com\\google\\j2objc\\j2objc-annotations\\1.1\\j2objc-annotations-1.1.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\org\\codehaus\\mojo\\animal-sniffer-annotations\\1.17\\animal-sniffer-annotations-1.17.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\javax\\validation\\validation-api\\2.0.1.Final\\validation-api-2.0.1.Final.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\io\\springfox\\springfox-boot-starter\\3.0.0\\springfox-boot-starter-3.0.0.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\io\\springfox\\springfox-data-rest\\3.0.0\\springfox-data-rest-3.0.0.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\com\\fasterxml\\classmate\\1.5.1\\classmate-1.5.1.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\org\\springframework\\plugin\\spring-plugin-core\\2.0.0.RELEASE\\spring-plugin-core-2.0.0.RELEASE.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\org\\springframework\\plugin\\spring-plugin-metadata\\2.0.0.RELEASE\\spring-plugin-metadata-2.0.0.RELEASE.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\com\\github\\xiaoymin\\knife4j-spring-ui\\3.0.2\\knife4j-spring-ui-3.0.2.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\com\\alibaba\\fastjson\\1.2.76\\fastjson-1.2.76.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\commons-lang\\commons-lang\\2.6\\commons-lang-2.6.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\com\\baomidou\\mybatis-plus-boot-starter\\3.4.2\\mybatis-plus-boot-starter-3.4.2.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\com\\baomidou\\mybatis-plus\\3.4.2\\mybatis-plus-3.4.2.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\com\\baomidou\\mybatis-plus-extension\\3.4.2\\mybatis-plus-extension-3.4.2.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\com\\baomidou\\mybatis-plus-core\\3.4.2\\mybatis-plus-core-3.4.2.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\com\\baomidou\\mybatis-plus-annotation\\3.4.2\\mybatis-plus-annotation-3.4.2.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\com\\github\\jsqlparser\\jsqlparser\\4.0\\jsqlparser-4.0.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\org\\mybatis\\mybatis\\3.5.6\\mybatis-3.5.6.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\org\\mybatis\\mybatis-spring\\2.0.5\\mybatis-spring-2.0.5.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\org\\springframework\\boot\\spring-boot-autoconfigure\\2.7.0\\spring-boot-autoconfigure-2.7.0.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\org\\springframework\\boot\\spring-boot-starter-jdbc\\2.7.0\\spring-boot-starter-jdbc-2.7.0.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\com\\zaxxer\\HikariCP\\4.0.3\\HikariCP-4.0.3.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\org\\springframework\\spring-jdbc\\5.3.20\\spring-jdbc-5.3.20.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\org\\springframework\\spring-tx\\5.3.20\\spring-tx-5.3.20.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\mysql\\mysql-connector-java\\8.0.29\\mysql-connector-java-8.0.29.jar com.example.bigdemo.BigdemoApplication\n" +
            "\n" +
            "  .   ____          _            __ _ _\n" +
            " /\\\\ / ___'_ __ _ _(_)_ __  __ _ \\ \\ \\ \\\n" +
            "( ( )\\___ | '_ | '_| | '_ \\/ _` | \\ \\ \\ \\\n" +
            " \\\\/  ___)| |_)| | | | | || (_| |  ) ) ) )\n" +
            "  '  |____| .__|_| |_|_| |_\\__, | / / / /\n" +
            " =========|_|==============|___/=/_/_/_/\n" +
            " :: Spring Boot ::                (v2.7.0)\n" +
            "\n" +
            "  INFO 7140 --- [           main] com.example.bigdemo.BigdemoApplication   : Starting BigdemoApplication using Java 11.0.11 on Edsion的Windows设备 with PID 7140 (B:\\Snmp\\bigdemo\\target\\classes started by Edsion.xxx in B:\\Snmp\\bigdemo)\n" +
            "  INFO 7140 --- [           main] com.example.bigdemo.BigdemoApplication   : No active profile set, falling back to 1 default profile: \"default\"\n" +
            "  INFO 7140 --- [           main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat initialized with port(s): 8900 (http)\n" +
            "  INFO 7140 --- [           main] o.a.catalina.core.AprLifecycleListener   : Loaded Apache Tomcat Native library [1.2.31] using APR version [1.7.0].\n" +
            "  INFO 7140 --- [           main] o.a.catalina.core.AprLifecycleListener   : APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true], UDS [true].\n" +
            "  INFO 7140 --- [           main] o.a.catalina.core.AprLifecycleListener   : APR/OpenSSL configuration: useAprConnector [false], useOpenSSL [true]\n" +
            "  INFO 7140 --- [           main] o.a.catalina.core.AprLifecycleListener   : OpenSSL successfully initialized [OpenSSL 1.1.1l  24 Aug 2021]\n" +
            "  INFO 7140 --- [           main] o.apache.catalina.core.StandardService   : Starting service [Tomcat]\n" +
            "  INFO 7140 --- [           main] org.apache.catalina.core.StandardEngine  : Starting Servlet engine: [Apache Tomcat/9.0.63]\n" +
            "  INFO 7140 --- [           main] o.a.c.c.C.[Tomcat].[localhost].[/]       : Initializing Spring embedded WebApplicationContext\n" +
            "  INFO 7140 --- [           main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1105 ms\n" +
            "Logging initialized using 'class org.apache.ibatis.logging.stdout.StdOutImpl' adapter.\n" +
            "Property 'mapperLocations' was not specified.\n" +
            " _ _   |_  _ _|_. ___ _ |    _ \n" +
            "| | |\\/|_)(_| | |_\\  |_)||_|_\\ \n" +
            "     /               |         \n" +
            "                        3.4.2 \n" +
            "This primary key of \"id\" is primitive !不建议如此请使用包装类 in Class: \"com.example.bigdemo.logmode.pojo.snmplogger\"\n" +
            "  INFO 7140 --- [           main] c.example.bigdemo.config.swaggerconfig   : 消息转换完成\n" +
            "  INFO 7140 --- [           main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat started on port(s): 8900 (http) with context path ''\n" +
            "  INFO 7140 --- [           main] com.example.bigdemo.BigdemoApplication   : Started BigdemoApplication in 5.913 seconds (JVM running for 8.603)\n" +
            "  INFO 7140 --- [nio-8900-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/]       : Initializing Spring DispatcherServlet 'dispatcherServlet'\n" +
            "  INFO 7140 --- [nio-8900-exec-1] o.s.web.servlet.DispatcherServlet        : Initializing Servlet 'dispatcherServlet'\n" +
            "  INFO 7140 --- [nio-8900-exec-1] o.s.web.servlet.DispatcherServlet        : Completed initialization in 1 ms\n" +
            "Creating a new SqlSession\n" +
            "SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@4246d81e] was not registered for synchronization because synchronization is not active\n" +
            "2022-06-14 15:15:35.545  INFO 7140 --- [nio-8900-exec-1] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Starting...\n" +
            "2022-06-14 15:15:35.813  INFO 7140 --- [nio-8900-exec-1] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Start completed.\n" +
            "JDBC Connection [HikariProxyConnection@534717192 wrapping com.mysql.cj.jdbc.ConnectionImpl@33d39f7c] will not be managed by Spring\n" +
            "==>  Preparing: INSERT INTO snmplogger ( type, logger ) VALUES ( ?, ? )\n" +
            "==> Parameters: 1(String), Logger[com.example.bigdemo.sercive.Impl.GetMessageImpl](String)\n" +
            "<==    Updates: 1\n" +
            "Closing non transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@4246d81e]\n" +
            "Creating a new SqlSession\n" +
            "SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@58991b34] was not registered for synchronization because synchronization is not active\n" +
            "JDBC Connection [HikariProxyConnection@192603349 wrapping com.mysql.cj.jdbc.ConnectionImpl@33d39f7c] will not be managed by Spring\n" +
            "==>  Preparing: INSERT INTO snmplogger ( type, logger ) VALUES ( ?, ? )\n" +
            "==> Parameters: 2(String), Logger[com.example.bigdemo.sercive.Impl.snmpServiceImpl](String)\n" +
            "<==    Updates: 1\n" +
            "Closing non transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@58991b34]\n" +
            "Creating a new SqlSession\n" +
            "SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@14c60a4a] was not registered for synchronization because synchronization is not active\n" +
            "JDBC Connection [HikariProxyConnection@1212549195 wrapping com.mysql.cj.jdbc.ConnectionImpl@33d39f7c] will not be managed by Spring\n" +
            "==>  Preparing: INSERT INTO snmplogger ( type, logger ) VALUES ( ?, ? )\n" +
            "==> Parameters: 3(String), Logger[com.example.bigdemo.sercive.Impl.TrapserviceImpl](String)\n" +
            "<==    Updates: 1\n" +
            "Closing non transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@14c60a4a]\n" +
            "Creating a new SqlSession\n" +
            "SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@5549ca24] was not registered for synchronization because synchronization is not active\n" +
            "JDBC Connection [HikariProxyConnection@1536044797 wrapping com.mysql.cj.jdbc.ConnectionImpl@33d39f7c] will not be managed by Spring\n" +
            "==>  Preparing: INSERT INTO snmplogger ( type, logger ) VALUES ( ?, ? )\n" +
            "==> Parameters: 1(String), Logger[com.example.bigdemo.sercive.Impl.GetMessageImpl](String)\n" +
            "<==    Updates: 1\n" +
            "Closing non transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@5549ca24]\n" +
            "Creating a new SqlSession\n" +
            "SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@130d55e] was not registered for synchronization because synchronization is not active\n" +
            "JDBC Connection [HikariProxyConnection@736361027 wrapping com.mysql.cj.jdbc.ConnectionImpl@33d39f7c] will not be managed by Spring\n" +
            "==>  Preparing: INSERT INTO snmplogger ( type, logger ) VALUES ( ?, ? )\n" +
            "==> Parameters: 2(String), Logger[com.example.bigdemo.sercive.Impl.snmpServiceImpl](String)\n" +
            "<==    Updates: 1\n" +
            "Closing non transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@130d55e]\n" +
            "Creating a new SqlSession\n" +
            "SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@7d017ba1] was not registered for synchronization because synchronization is not active\n" +
            "JDBC Connection [HikariProxyConnection@1689090740 wrapping com.mysql.cj.jdbc.ConnectionImpl@33d39f7c] will not be managed by Spring\n" +
            "==>  Preparing: INSERT INTO snmplogger ( type, logger ) VALUES ( ?, ? )\n" +
            "==> Parameters: 3(String), Logger[com.example.bigdemo.sercive.Impl.TrapserviceImpl](String)\n" +
            "<==    Updates: 1\n" +
            "Closing non transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@7d017ba1]\n" +
            "Creating a new SqlSession\n" +
            "SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@39a1e7ed] was not registered for synchronization because synchronization is not active\n" +
            "JDBC Connection [HikariProxyConnection@583467455 wrapping com.mysql.cj.jdbc.ConnectionImpl@33d39f7c] will not be managed by Spring\n" +
            "==>  Preparing: SELECT id,type,logger FROM snmplogger\n" +
            "==> Parameters: \n" +
            "<==    Columns: id, type, logger\n" +
            "<==        Row: 1, 1, Logger[com.example.bigdemo.sercive.Impl.GetMessageImpl]\n" +
            "<==        Row: 2, 2, Logger[com.example.bigdemo.sercive.Impl.snmpServiceImpl]\n" +
            "<==        Row: 3, 3, Logger[com.example.bigdemo.sercive.Impl.TrapserviceImpl]\n" +
            "<==        Row: 4, 1, Logger[com.example.bigdemo.sercive.Impl.GetMessageImpl]\n" +
            "<==        Row: 5, 2, Logger[com.example.bigdemo.sercive.Impl.snmpServiceImpl]\n" +
            "<==        Row: 6, 3, Logger[com.example.bigdemo.sercive.Impl.TrapserviceImpl]\n" +
            "<==        Row: 7, 1, Logger[com.example.bigdemo.sercive.Impl.GetMessageImpl]\n" +
            "<==        Row: 8, 2, Logger[com.example.bigdemo.sercive.Impl.snmpServiceImpl]\n" +
            "<==        Row: 9, 3, Logger[com.example.bigdemo.sercive.Impl.TrapserviceImpl]\n" +
            "<==      Total: 9\n" +
            "Closing non transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@39a1e7ed]\n" +
            "  INFO 7140 --- [nio-8900-exec-2] c.e.b.controller.GetMessageController    : 开始查询\n" +
            "  WARN 7140 --- [nio-8900-exec-2] c.e.bigdemo.sercive.Impl.GetMessageImpl  : Get查询结果如下\n" +
            "  WARN 7140 --- [nio-8900-exec-2] c.e.bigdemo.sercive.Impl.GetMessageImpl  : 查询ip\n" +
            "  INFO 7140 --- [nio-8900-exec-2] c.e.bigdemo.sercive.Impl.GetMessageImpl  : localhost\n" +
            "  WARN 7140 --- [nio-8900-exec-2] c.e.bigdemo.sercive.Impl.GetMessageImpl  : 查询oid\n" +
            "  INFO 7140 --- [nio-8900-exec-2] c.e.bigdemo.sercive.Impl.GetMessageImpl  : 1.3.6.1.2.1.1.1.0\n" +
            "  WARN 7140 --- [nio-8900-exec-2] c.e.bigdemo.sercive.Impl.GetMessageImpl  : 具体信息\n{\n" +
            "  \"cnum\": 1,\n" +
            "  \"data\": [\n" +
            "    {\n" +
            "      \"num\": 0,\n" +
            "      \"value\": {\n" +
            "        \"0\": \"Hardware: Intel64 Family 6 Model 158 Stepping 10 AT/AT COMPATIBLE - Software: Windows Version 6.3 (Build 19044 Multiprocessor Free)\"\n" +
            "      }\n" +
            "    }\n" +
            "  ]\n" +
            "}";
    String SET="D:\\JAVA\\bin\\java.exe -XX:TieredStopAtLevel=1 -noverify -Dspring.output.ansi.enabled=always -Dcom.sun.management.jmxremote -Dspring.jmx.enabled=true -Dspring.liveBeansView.mbeanDomain -Dspring.application.admin.enabled=true \"-javaagent:B:\\IntelliJ IDEA 2021.3.2\\lib\\idea_rt.jar=32971:B:\\IntelliJ IDEA 2021.3.2\\bin\" -Dfile.encoding=UTF-8 -classpath B:\\Snmp\\bigdemo\\target\\classes;C:\\Users\\Edsion.xxx\\.m2\\repository\\org\\springframework\\boot\\spring-boot-starter-web\\2.7.0\\spring-boot-starter-web-2.7.0.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\org\\springframework\\boot\\spring-boot-starter\\2.7.0\\spring-boot-starter-2.7.0.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\org\\springframework\\boot\\spring-boot\\2.7.0\\spring-boot-2.7.0.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\org\\springframework\\boot\\spring-boot-starter-logging\\2.7.0\\spring-boot-starter-logging-2.7.0.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\ch\\qos\\logback\\logback-classic\\1.2.11\\logback-classic-1.2.11.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\ch\\qos\\logback\\logback-core\\1.2.11\\logback-core-1.2.11.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\org\\apache\\logging\\log4j\\log4j-to-slf4j\\2.17.2\\log4j-to-slf4j-2.17.2.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\org\\apache\\logging\\log4j\\log4j-api\\2.17.2\\log4j-api-2.17.2.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\org\\slf4j\\jul-to-slf4j\\1.7.36\\jul-to-slf4j-1.7.36.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\jakarta\\annotation\\jakarta.annotation-api\\1.3.5\\jakarta.annotation-api-1.3.5.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\org\\yaml\\snakeyaml\\1.30\\snakeyaml-1.30.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\org\\springframework\\boot\\spring-boot-starter-json\\2.7.0\\spring-boot-starter-json-2.7.0.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\com\\fasterxml\\jackson\\core\\jackson-databind\\2.13.3\\jackson-databind-2.13.3.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\com\\fasterxml\\jackson\\core\\jackson-annotations\\2.13.3\\jackson-annotations-2.13.3.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\com\\fasterxml\\jackson\\core\\jackson-core\\2.13.3\\jackson-core-2.13.3.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\com\\fasterxml\\jackson\\datatype\\jackson-datatype-jdk8\\2.13.3\\jackson-datatype-jdk8-2.13.3.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\com\\fasterxml\\jackson\\datatype\\jackson-datatype-jsr310\\2.13.3\\jackson-datatype-jsr310-2.13.3.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\com\\fasterxml\\jackson\\module\\jackson-module-parameter-names\\2.13.3\\jackson-module-parameter-names-2.13.3.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\org\\springframework\\boot\\spring-boot-starter-tomcat\\2.7.0\\spring-boot-starter-tomcat-2.7.0.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\org\\apache\\tomcat\\embed\\tomcat-embed-core\\9.0.63\\tomcat-embed-core-9.0.63.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\org\\apache\\tomcat\\embed\\tomcat-embed-el\\9.0.63\\tomcat-embed-el-9.0.63.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\org\\apache\\tomcat\\embed\\tomcat-embed-websocket\\9.0.63\\tomcat-embed-websocket-9.0.63.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\org\\springframework\\spring-web\\5.3.20\\spring-web-5.3.20.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\org\\springframework\\spring-beans\\5.3.20\\spring-beans-5.3.20.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\org\\springframework\\spring-webmvc\\5.3.20\\spring-webmvc-5.3.20.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\org\\springframework\\spring-aop\\5.3.20\\spring-aop-5.3.20.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\org\\springframework\\spring-context\\5.3.20\\spring-context-5.3.20.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\org\\springframework\\spring-expression\\5.3.20\\spring-expression-5.3.20.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\org\\projectlombok\\lombok\\1.18.24\\lombok-1.18.24.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\org\\slf4j\\slf4j-api\\1.7.36\\slf4j-api-1.7.36.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\net\\bytebuddy\\byte-buddy\\1.12.10\\byte-buddy-1.12.10.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\org\\springframework\\spring-core\\5.3.20\\spring-core-5.3.20.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\org\\springframework\\spring-jcl\\5.3.20\\spring-jcl-5.3.20.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\org\\snmp4j\\snmp4j\\2.8.3\\snmp4j-2.8.3.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\com\\github\\xiaoymin\\knife4j-spring-boot-starter\\3.0.2\\knife4j-spring-boot-starter-3.0.2.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\com\\github\\xiaoymin\\knife4j-spring-boot-autoconfigure\\3.0.2\\knife4j-spring-boot-autoconfigure-3.0.2.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\com\\github\\xiaoymin\\knife4j-spring\\3.0.2\\knife4j-spring-3.0.2.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\com\\github\\xiaoymin\\knife4j-annotations\\3.0.2\\knife4j-annotations-3.0.2.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\io\\swagger\\swagger-annotations\\1.5.22\\swagger-annotations-1.5.22.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\io\\swagger\\core\\v3\\swagger-annotations\\2.1.2\\swagger-annotations-2.1.2.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\com\\github\\xiaoymin\\knife4j-core\\3.0.2\\knife4j-core-3.0.2.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\org\\javassist\\javassist\\3.25.0-GA\\javassist-3.25.0-GA.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\io\\springfox\\springfox-swagger2\\3.0.0\\springfox-swagger2-3.0.0.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\io\\springfox\\springfox-spi\\3.0.0\\springfox-spi-3.0.0.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\io\\springfox\\springfox-schema\\3.0.0\\springfox-schema-3.0.0.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\io\\springfox\\springfox-swagger-common\\3.0.0\\springfox-swagger-common-3.0.0.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\io\\springfox\\springfox-spring-web\\3.0.0\\springfox-spring-web-3.0.0.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\io\\github\\classgraph\\classgraph\\4.8.83\\classgraph-4.8.83.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\io\\springfox\\springfox-spring-webflux\\3.0.0\\springfox-spring-webflux-3.0.0.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\org\\mapstruct\\mapstruct\\1.3.1.Final\\mapstruct-1.3.1.Final.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\io\\springfox\\springfox-spring-webmvc\\3.0.0\\springfox-spring-webmvc-3.0.0.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\io\\springfox\\springfox-core\\3.0.0\\springfox-core-3.0.0.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\io\\springfox\\springfox-oas\\3.0.0\\springfox-oas-3.0.0.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\io\\swagger\\core\\v3\\swagger-models\\2.1.2\\swagger-models-2.1.2.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\io\\springfox\\springfox-bean-validators\\3.0.0\\springfox-bean-validators-3.0.0.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\io\\swagger\\swagger-models\\1.5.22\\swagger-models-1.5.22.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\io\\swagger\\swagger-core\\1.5.22\\swagger-core-1.5.22.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\org\\apache\\commons\\commons-lang3\\3.12.0\\commons-lang3-3.12.0.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\com\\fasterxml\\jackson\\dataformat\\jackson-dataformat-yaml\\2.13.3\\jackson-dataformat-yaml-2.13.3.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\com\\google\\guava\\guava\\27.0.1-android\\guava-27.0.1-android.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\com\\google\\guava\\failureaccess\\1.0.1\\failureaccess-1.0.1.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\com\\google\\guava\\listenablefuture\\9999.0-empty-to-avoid-conflict-with-guava\\listenablefuture-9999.0-empty-to-avoid-conflict-with-guava.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\com\\google\\code\\findbugs\\jsr305\\3.0.2\\jsr305-3.0.2.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\org\\checkerframework\\checker-compat-qual\\2.5.2\\checker-compat-qual-2.5.2.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\com\\google\\errorprone\\error_prone_annotations\\2.2.0\\error_prone_annotations-2.2.0.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\com\\google\\j2objc\\j2objc-annotations\\1.1\\j2objc-annotations-1.1.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\org\\codehaus\\mojo\\animal-sniffer-annotations\\1.17\\animal-sniffer-annotations-1.17.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\javax\\validation\\validation-api\\2.0.1.Final\\validation-api-2.0.1.Final.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\io\\springfox\\springfox-boot-starter\\3.0.0\\springfox-boot-starter-3.0.0.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\io\\springfox\\springfox-data-rest\\3.0.0\\springfox-data-rest-3.0.0.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\com\\fasterxml\\classmate\\1.5.1\\classmate-1.5.1.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\org\\springframework\\plugin\\spring-plugin-core\\2.0.0.RELEASE\\spring-plugin-core-2.0.0.RELEASE.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\org\\springframework\\plugin\\spring-plugin-metadata\\2.0.0.RELEASE\\spring-plugin-metadata-2.0.0.RELEASE.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\com\\github\\xiaoymin\\knife4j-spring-ui\\3.0.2\\knife4j-spring-ui-3.0.2.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\com\\alibaba\\fastjson\\1.2.76\\fastjson-1.2.76.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\commons-lang\\commons-lang\\2.6\\commons-lang-2.6.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\com\\baomidou\\mybatis-plus-boot-starter\\3.4.2\\mybatis-plus-boot-starter-3.4.2.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\com\\baomidou\\mybatis-plus\\3.4.2\\mybatis-plus-3.4.2.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\com\\baomidou\\mybatis-plus-extension\\3.4.2\\mybatis-plus-extension-3.4.2.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\com\\baomidou\\mybatis-plus-core\\3.4.2\\mybatis-plus-core-3.4.2.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\com\\baomidou\\mybatis-plus-annotation\\3.4.2\\mybatis-plus-annotation-3.4.2.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\com\\github\\jsqlparser\\jsqlparser\\4.0\\jsqlparser-4.0.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\org\\mybatis\\mybatis\\3.5.6\\mybatis-3.5.6.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\org\\mybatis\\mybatis-spring\\2.0.5\\mybatis-spring-2.0.5.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\org\\springframework\\boot\\spring-boot-autoconfigure\\2.7.0\\spring-boot-autoconfigure-2.7.0.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\org\\springframework\\boot\\spring-boot-starter-jdbc\\2.7.0\\spring-boot-starter-jdbc-2.7.0.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\com\\zaxxer\\HikariCP\\4.0.3\\HikariCP-4.0.3.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\org\\springframework\\spring-jdbc\\5.3.20\\spring-jdbc-5.3.20.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\org\\springframework\\spring-tx\\5.3.20\\spring-tx-5.3.20.jar;C:\\Users\\Edsion.xxx\\.m2\\repository\\mysql\\mysql-connector-java\\8.0.29\\mysql-connector-java-8.0.29.jar com.example.bigdemo.BigdemoApplication\n" +
            "\n" +
            "  .   ____          _            __ _ _\n" +
            " /\\\\ / ___'_ __ _ _(_)_ __  __ _ \\ \\ \\ \\\n" +
            "( ( )\\___ | '_ | '_| | '_ \\/ _` | \\ \\ \\ \\\n" +
            " \\\\/  ___)| |_)| | | | | || (_| |  ) ) ) )\n" +
            "  '  |____| .__|_| |_|_| |_\\__, | / / / /\n" +
            " =========|_|==============|___/=/_/_/_/\n" +
            " :: Spring Boot ::                (v2.7.0)\n" +
            "\n" +
            "  INFO 7140 --- [           main] com.example.bigdemo.BigdemoApplication   : Starting BigdemoApplication using Java 11.0.11 on Edsion的Windows设备 with PID 7140 (B:\\Snmp\\bigdemo\\target\\classes started by Edsion.xxx in B:\\Snmp\\bigdemo)\n" +
            "  INFO 7140 --- [           main] com.example.bigdemo.BigdemoApplication   : No active profile set, falling back to 1 default profile: \"default\"\n" +
            "  INFO 7140 --- [           main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat initialized with port(s): 8900 (http)\n" +
            "  INFO 7140 --- [           main] o.a.catalina.core.AprLifecycleListener   : Loaded Apache Tomcat Native library [1.2.31] using APR version [1.7.0].\n" +
            "  INFO 7140 --- [           main] o.a.catalina.core.AprLifecycleListener   : APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true], UDS [true].\n" +
            "  INFO 7140 --- [           main] o.a.catalina.core.AprLifecycleListener   : APR/OpenSSL configuration: useAprConnector [false], useOpenSSL [true]\n" +
            "  INFO 7140 --- [           main] o.a.catalina.core.AprLifecycleListener   : OpenSSL successfully initialized [OpenSSL 1.1.1l  24 Aug 2021]\n" +
            "  INFO 7140 --- [           main] o.apache.catalina.core.StandardService   : Starting service [Tomcat]\n" +
            "  INFO 7140 --- [           main] org.apache.catalina.core.StandardEngine  : Starting Servlet engine: [Apache Tomcat/9.0.63]\n" +
            "  INFO 7140 --- [           main] o.a.c.c.C.[Tomcat].[localhost].[/]       : Initializing Spring embedded WebApplicationContext\n" +
            "  INFO 7140 --- [           main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1105 ms\n" +
            "Logging initialized using 'class org.apache.ibatis.logging.stdout.StdOutImpl' adapter.\n" +
            "Property 'mapperLocations' was not specified.\n" +
            " _ _   |_  _ _|_. ___ _ |    _ \n" +
            "| | |\\/|_)(_| | |_\\  |_)||_|_\\ \n" +
            "     /               |         \n" +
            "                        3.4.2 \n" +
            "This primary key of \"id\" is primitive !不建议如此请使用包装类 in Class: \"com.example.bigdemo.logmode.pojo.snmplogger\"\n" +
            "Closing non transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@39a1e7ed]\n" +
            "  INFO 7140 --- [nio-8900-exec-2] c.e.b.controller.GetMessageController    : 开始更矮\n" +
            "  WARN 7140 --- [nio-8900-exec-2] c.e.bigdemo.sercive.Impl.GetMessageImpl  : SET结果如下\n" +
            "  WARN 7140 --- [nio-8900-exec-2] c.e.bigdemo.sercive.Impl.GetMessageImpl  : 更改的ip\n" +
            "  INFO 7140 --- [nio-8900-exec-2] c.e.bigdemo.sercive.Impl.GetMessageImpl  : localhost\n" +
            "  WARN 7140 --- [nio-8900-exec-2] c.e.bigdemo.sercive.Impl.GetMessageImpl  : 更改的oid\n" +
            "  INFO 7140 --- [nio-8900-exec-2] c.e.bigdemo.sercive.Impl.GetMessageImpl  : 1.3.6.1.2.1.1.1.0\n" +
            "  WARN 7140 --- [nio-8900-exec-2] c.e.bigdemo.sercive.Impl.GetMessageImpl  : 具体信息\n{\n" +
            "Logging initialized using 'class org.apache.ibatis.logging.stdout.StdOutImpl' adapter.\n" +
            "Property 'mapperLocations' was not specified.\n" +
            " _ _   |_  _ _|_. ___ _ |    _ \n" +
            "| | |\\/|_)(_| | |_\\  |_)||_|_\\ \n" +
            "     /               |         \n" +
            "                        3.4.2 \n" +
            "This primary key of \"id\" is primitive !不建议如此请使用包装类 in Class: \"com.example.bigdemo.logmode.pojo.snmplogger\"\n" +
            "  INFO 7140 --- [           main] c.example.bigdemo.config.swaggerconfig   : 消息转换完成\n" +
            "  INFO 7140 --- [           main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat started on port(s): 8900 (http) with context path ''\n" +
            "  INFO 7140 --- [           main] com.example.bigdemo.BigdemoApplication   : Started BigdemoApplication in 5.913 seconds (JVM running for 8.603)\n" +
            "  INFO 7140 --- [nio-8900-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/]       : Initializing Spring DispatcherServlet 'dispatcherServlet'\n" +
            "  INFO 7140 --- [nio-8900-exec-1] o.s.web.servlet.DispatcherServlet        : Initializing Servlet 'dispatcherServlet'\n" +
            "  INFO 7140 --- [nio-8900-exec-1] o.s.web.servlet.DispatcherServlet        : Completed initialization in 1 ms\n" +
            "Creating a new SqlSession\n" +
            "SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@4246d81e] was not registered for synchronization because synchronization is not active\n" +
            "2022-06-14 15:15:35.545  INFO 7140 --- [nio-8900-exec-1] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Starting...\n" +
            "2022-06-14 15:15:35.813  INFO 7140 --- [nio-8900-exec-1] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Start completed.\n" +
            "JDBC Connection [HikariProxyConnection@534717192 wrapping com.mysql.cj.jdbc.ConnectionImpl@33d39f7c] will not be managed by Spring\n" +
            "==>  Preparing: INSERT INTO snmplogger ( type, logger ) VALUES ( ?, ? )\n" +
            "==> Parameters: 1(String), Logger[com.example.bigdemo.sercive.Impl.GetMessageImpl](String)\n" +
            "<==    Updates: 1\n" +
            "Closing non transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@4246d81e]\n" +
            "Creating a new SqlSession\n" +
            "SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@58991b34] was not registered for synchronization because synchronization is not active\n" +
            "JDBC Connection [HikariProxyConnection@192603349 wrapping com.mysql.cj.jdbc.ConnectionImpl@33d39f7c] will not be managed by Spring\n" +
            "==>  Preparing: INSERT INTO snmplogger ( type, logger ) VALUES ( ?, ? )\n" +
            "==> Parameters: 2(String), Logger[com.example.bigdemo.sercive.Impl.snmpServiceImpl](String)\n" +
            "<==    Updates: 1\n" +
            "Closing non transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@58991b34]\n" +
            "Creating a new SqlSession\n" +
            "SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@14c60a4a] was not registered for synchronization because synchronization is not active\n" +
            "JDBC Connection [HikariProxyConnection@1212549195 wrapping com.mysql.cj.jdbc.ConnectionImpl@33d39f7c] will not be managed by Spring\n" +
            "==>  Preparing: INSERT INTO snmplogger ( type, logger ) VALUES ( ?, ? )\n" +
            "==> Parameters: 3(String), Logger[com.example.bigdemo.sercive.Impl.TrapserviceImpl](String)\n" +
            "<==    Updates: 1\n" +
            "Closing non transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@14c60a4a]\n" +
            "Creating a new SqlSession\n" +
            "SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@5549ca24] was not registered for synchronization because synchronization is not active\n" +
            "JDBC Connection [HikariProxyConnection@1536044797 wrapping com.mysql.cj.jdbc.ConnectionImpl@33d39f7c] will not be managed by Spring\n" +
            "==>  Preparing: INSERT INTO snmplogger ( type, logger ) VALUES ( ?, ? )\n" +
            "==> Parameters: 1(String), Logger[com.example.bigdemo.sercive.Impl.GetMessageImpl](String)\n" +
            "<==    Updates: 1\n" +
            "Closing non transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@5549ca24]\n" +
            "Creating a new SqlSession\n" +
            "SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@130d55e] was not registered for synchronization because synchronization is not active\n" +
            "JDBC Connection [HikariProxyConnection@736361027 wrapping com.mysql.cj.jdbc.ConnectionImpl@33d39f7c] will not be managed by Spring\n" +
            "==>  Preparing: INSERT INTO snmplogger ( type, logger ) VALUES ( ?, ? )\n" +
            "==> Parameters: 2(String), Logger[com.example.bigdemo.sercive.Impl.snmpServiceImpl](String)\n" +
            "<==    Updates: 1\n" +
            "Closing non transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@130d55e]\n" +
            "Creating a new SqlSession\n" +
            "SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@7d017ba1] was not registered for synchronization because synchronization is not active\n" +
            "JDBC Connection [HikariProxyConnection@1689090740 wrapping com.mysql.cj.jdbc.ConnectionImpl@33d39f7c] will not be managed by Spring\n" +
            "==>  Preparing: INSERT INTO snmplogger ( type, logger ) VALUES ( ?, ? )\n" +
            "==> Parameters: 3(String), Logger[com.example.bigdemo.sercive.Impl.TrapserviceImpl](String)\n" +
            "<==    Updates: 1\n" +
            "Closing non transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@7d017ba1]\n" +
            "Creating a new SqlSession\n" +
            "SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@39a1e7ed] was not registered for synchronization because synchronization is not active\n" +
            "JDBC Connection [HikariProxyConnection@583467455 wrapping com.mysql.cj.jdbc.ConnectionImpl@33d39f7c] will not be managed by Spring\n" +
            "==>  Preparing: SELECT id,type,logger FROM snmplogger\n" +
            "==> Parameters: \n" +
            "<==    Columns: id, type, logger\n" +
            "<==        Row: 1, 1, Logger[com.example.bigdemo.sercive.Impl.GetMessageImpl]\n" +
            "<==        Row: 2, 2, Logger[com.example.bigdemo.sercive.Impl.snmpServiceImpl]\n" +
            "<==        Row: 3, 3, Logger[com.example.bigdemo.sercive.Impl.TrapserviceImpl]\n" +
            "<==        Row: 4, 1, Logger[com.example.bigdemo.sercive.Impl.GetMessageImpl]\n" +
            "<==        Row: 5, 2, Logger[com.example.bigdemo.sercive.Impl.snmpServiceImpl]\n" +
            "<==        Row: 6, 3, Logger[com.example.bigdemo.sercive.Impl.TrapserviceImpl]\n" +
            "<==        Row: 7, 1, Logger[com.example.bigdemo.sercive.Impl.GetMessageImpl]\n" +
            "<==        Row: 8, 2, Logger[com.example.bigdemo.sercive.Impl.snmpServiceImpl]\n" +
            "<==        Row: 9, 3, Logger[com.example.bigdemo.sercive.Impl.TrapserviceImpl]\n" +
            "<==      Total: 9\n" +
            "  \"cnum\": 1,\n" +
            "  \"data\": [\n" +
            "    {\n" +
            "      \"num\": 0,\n" +
            "      \"value\": {\n" +
            "        \"0\": \"test\"\n" +
            "      }\n" +
            "    }\n" +
            "  ]\n" +
            "}";
    String TRAP="D:\\\\JAVA\\\\bin\\\\java.exe -XX:TieredStopAtLevel=1 -noverify -Dspring.output.ansi.enabled=always -Dcom.sun.management.jmxremote -Dspring.jmx.enabled=true -Dspring.liveBeansView.mbeanDomain -Dspring.application.admin.enabled=true \\\"-javaagent:B:\\\\IntelliJ IDEA 2021.3.2\\\\lib\\\\idea_rt.jar=32971:B:\\\\IntelliJ IDEA 2021.3.2\\\\bin\\\" -Dfile.encoding=UTF-8 -classpath B:\\\\Snmp\\\\bigdemo\\\\target\\\\classes;C:\\\\Users\\\\Edsion.xxx\\\\.m2\\\\repository\\\\org\\\\springframework\\\\boot\\\\spring-boot-starter-web\\\\2.7.0\\\\spring-boot-starter-web-2.7.0.jar;C:\\\\Users\\\\Edsion.xxx\\\\.m2\\\\repository\\\\org\\\\springframework\\\\boot\\\\spring-boot-starter\\\\2.7.0\\\\spring-boot-starter-2.7.0.jar;C:\\\\Users\\\\Edsion.xxx\\\\.m2\\\\repository\\\\org\\\\springframework\\\\boot\\\\spring-boot\\\\2.7.0\\\\spring-boot-2.7.0.jar;C:\\\\Users\\\\Edsion.xxx\\\\.m2\\\\repository\\\\org\\\\springframework\\\\boot\\\\spring-boot-starter-logging\\\\2.7.0\\\\spring-boot-starter-logging-2.7.0.jar;C:\\\\Users\\\\Edsion.xxx\\\\.m2\\\\repository\\\\ch\\\\qos\\\\logback\\\\logback-classic\\\\1.2.11\\\\logback-classic-1.2.11.jar;C:\\\\Users\\\\Edsion.xxx\\\\.m2\\\\repository\\\\ch\\\\qos\\\\logback\\\\logback-core\\\\1.2.11\\\\logback-core-1.2.11.jar;C:\\\\Users\\\\Edsion.xxx\\\\.m2\\\\repository\\\\org\\\\apache\\\\logging\\\\log4j\\\\log4j-to-slf4j\\\\2.17.2\\\\log4j-to-slf4j-2.17.2.jar;C:\\\\Users\\\\Edsion.xxx\\\\.m2\\\\repository\\\\org\\\\apache\\\\logging\\\\log4j\\\\log4j-api\\\\2.17.2\\\\log4j-api-2.17.2.jar;C:\\\\Users\\\\Edsion.xxx\\\\.m2\\\\repository\\\\org\\\\slf4j\\\\jul-to-slf4j\\\\1.7.36\\\\jul-to-slf4j-1.7.36.jar;C:\\\\Users\\\\Edsion.xxx\\\\.m2\\\\repository\\\\jakarta\\\\annotation\\\\jakarta.annotation-api\\\\1.3.5\\\\jakarta.annotation-api-1.3.5.jar;C:\\\\Users\\\\Edsion.xxx\\\\.m2\\\\repository\\\\org\\\\yaml\\\\snakeyaml\\\\1.30\\\\snakeyaml-1.30.jar;C:\\\\Users\\\\Edsion.xxx\\\\.m2\\\\repository\\\\org\\\\springframework\\\\boot\\\\spring-boot-starter-json\\\\2.7.0\\\\spring-boot-starter-json-2.7.0.jar;C:\\\\Users\\\\Edsion.xxx\\\\.m2\\\\repository\\\\com\\\\fasterxml\\\\jackson\\\\core\\\\jackson-databind\\\\2.13.3\\\\jackson-databind-2.13.3.jar;C:\\\\Users\\\\Edsion.xxx\\\\.m2\\\\repository\\\\com\\\\fasterxml\\\\jackson\\\\core\\\\jackson-annotations\\\\2.13.3\\\\jackson-annotations-2.13.3.jar;C:\\\\Users\\\\Edsion.xxx\\\\.m2\\\\repository\\\\com\\\\fasterxml\\\\jackson\\\\core\\\\jackson-core\\\\2.13.3\\\\jackson-core-2.13.3.jar;C:\\\\Users\\\\Edsion.xxx\\\\.m2\\\\repository\\\\com\\\\fasterxml\\\\jackson\\\\datatype\\\\jackson-datatype-jdk8\\\\2.13.3\\\\jackson-datatype-jdk8-2.13.3.jar;C:\\\\Users\\\\Edsion.xxx\\\\.m2\\\\repository\\\\com\\\\fasterxml\\\\jackson\\\\datatype\\\\jackson-datatype-jsr310\\\\2.13.3\\\\jackson-datatype-jsr310-2.13.3.jar;C:\\\\Users\\\\Edsion.xxx\\\\.m2\\\\repository\\\\com\\\\fasterxml\\\\jackson\\\\module\\\\jackson-module-parameter-names\\\\2.13.3\\\\jackson-module-parameter-names-2.13.3.jar;C:\\\\Users\\\\Edsion.xxx\\\\.m2\\\\repository\\\\org\\\\springframework\\\\boot\\\\spring-boot-starter-tomcat\\\\2.7.0\\\\spring-boot-starter-tomcat-2.7.0.jar;C:\\\\Users\\\\Edsion.xxx\\\\.m2\\\\repository\\\\org\\\\apache\\\\tomcat\\\\embed\\\\tomcat-embed-core\\\\9.0.63\\\\tomcat-embed-core-9.0.63.jar;C:\\\\Users\\\\Edsion.xxx\\\\.m2\\\\repository\\\\org\\\\apache\\\\tomcat\\\\embed\\\\tomcat-embed-el\\\\9.0.63\\\\tomcat-embed-el-9.0.63.jar;C:\\\\Users\\\\Edsion.xxx\\\\.m2\\\\repository\\\\org\\\\apache\\\\tomcat\\\\embed\\\\tomcat-embed-websocket\\\\9.0.63\\\\tomcat-embed-websocket-9.0.63.jar;C:\\\\Users\\\\Edsion.xxx\\\\.m2\\\\repository\\\\org\\\\springframework\\\\spring-web\\\\5.3.20\\\\spring-web-5.3.20.jar;C:\\\\Users\\\\Edsion.xxx\\\\.m2\\\\repository\\\\org\\\\springframework\\\\spring-beans\\\\5.3.20\\\\spring-beans-5.3.20.jar;C:\\\\Users\\\\Edsion.xxx\\\\.m2\\\\repository\\\\org\\\\springframework\\\\spring-webmvc\\\\5.3.20\\\\spring-webmvc-5.3.20.jar;C:\\\\Users\\\\Edsion.xxx\\\\.m2\\\\repository\\\\org\\\\springframework\\\\spring-aop\\\\5.3.20\\\\spring-aop-5.3.20.jar;C:\\\\Users\\\\Edsion.xxx\\\\.m2\\\\repository\\\\org\\\\springframework\\\\spring-context\\\\5.3.20\\\\spring-context-5.3.20.jar;C:\\\\Users\\\\Edsion.xxx\\\\.m2\\\\repository\\\\org\\\\springframework\\\\spring-expression\\\\5.3.20\\\\spring-expression-5.3.20.jar;C:\\\\Users\\\\Edsion.xxx\\\\.m2\\\\repository\\\\org\\\\projectlombok\\\\lombok\\\\1.18.24\\\\lombok-1.18.24.jar;C:\\\\Users\\\\Edsion.xxx\\\\.m2\\\\repository\\\\org\\\\slf4j\\\\slf4j-api\\\\1.7.36\\\\slf4j-api-1.7.36.jar;C:\\\\Users\\\\Edsion.xxx\\\\.m2\\\\repository\\\\net\\\\bytebuddy\\\\byte-buddy\\\\1.12.10\\\\byte-buddy-1.12.10.jar;C:\\\\Users\\\\Edsion.xxx\\\\.m2\\\\repository\\\\org\\\\springframework\\\\spring-core\\\\5.3.20\\\\spring-core-5.3.20.jar;C:\\\\Users\\\\Edsion.xxx\\\\.m2\\\\repository\\\\org\\\\springframework\\\\spring-jcl\\\\5.3.20\\\\spring-jcl-5.3.20.jar;C:\\\\Users\\\\Edsion.xxx\\\\.m2\\\\repository\\\\org\\\\snmp4j\\\\snmp4j\\\\2.8.3\\\\snmp4j-2.8.3.jar;C:\\\\Users\\\\Edsion.xxx\\\\.m2\\\\repository\\\\com\\\\github\\\\xiaoymin\\\\knife4j-spring-boot-starter\\\\3.0.2\\\\knife4j-spring-boot-starter-3.0.2.jar;C:\\\\Users\\\\Edsion.xxx\\\\.m2\\\\repository\\\\com\\\\github\\\\xiaoymin\\\\knife4j-spring-boot-autoconfigure\\\\3.0.2\\\\knife4j-spring-boot-autoconfigure-3.0.2.jar;C:\\\\Users\\\\Edsion.xxx\\\\.m2\\\\repository\\\\com\\\\github\\\\xiaoymin\\\\knife4j-spring\\\\3.0.2\\\\knife4j-spring-3.0.2.jar;C:\\\\Users\\\\Edsion.xxx\\\\.m2\\\\repository\\\\com\\\\github\\\\xiaoymin\\\\knife4j-annotations\\\\3.0.2\\\\knife4j-annotations-3.0.2.jar;C:\\\\Users\\\\Edsion.xxx\\\\.m2\\\\repository\\\\io\\\\swagger\\\\swagger-annotations\\\\1.5.22\\\\swagger-annotations-1.5.22.jar;C:\\\\Users\\\\Edsion.xxx\\\\.m2\\\\repository\\\\io\\\\swagger\\\\core\\\\v3\\\\swagger-annotations\\\\2.1.2\\\\swagger-annotations-2.1.2.jar;C:\\\\Users\\\\Edsion.xxx\\\\.m2\\\\repository\\\\com\\\\github\\\\xiaoymin\\\\knife4j-core\\\\3.0.2\\\\knife4j-core-3.0.2.jar;C:\\\\Users\\\\Edsion.xxx\\\\.m2\\\\repository\\\\org\\\\javassist\\\\javassist\\\\3.25.0-GA\\\\javassist-3.25.0-GA.jar;C:\\\\Users\\\\Edsion.xxx\\\\.m2\\\\repository\\\\io\\\\springfox\\\\springfox-swagger2\\\\3.0.0\\\\springfox-swagger2-3.0.0.jar;C:\\\\Users\\\\Edsion.xxx\\\\.m2\\\\repository\\\\io\\\\springfox\\\\springfox-spi\\\\3.0.0\\\\springfox-spi-3.0.0.jar;C:\\\\Users\\\\Edsion.xxx\\\\.m2\\\\repository\\\\io\\\\springfox\\\\springfox-schema\\\\3.0.0\\\\springfox-schema-3.0.0.jar;C:\\\\Users\\\\Edsion.xxx\\\\.m2\\\\repository\\\\io\\\\springfox\\\\springfox-swagger-common\\\\3.0.0\\\\springfox-swagger-common-3.0.0.jar;C:\\\\Users\\\\Edsion.xxx\\\\.m2\\\\repository\\\\io\\\\springfox\\\\springfox-spring-web\\\\3.0.0\\\\springfox-spring-web-3.0.0.jar;C:\\\\Users\\\\Edsion.xxx\\\\.m2\\\\repository\\\\io\\\\github\\\\classgraph\\\\classgraph\\\\4.8.83\\\\classgraph-4.8.83.jar;C:\\\\Users\\\\Edsion.xxx\\\\.m2\\\\repository\\\\io\\\\springfox\\\\springfox-spring-webflux\\\\3.0.0\\\\springfox-spring-webflux-3.0.0.jar;C:\\\\Users\\\\Edsion.xxx\\\\.m2\\\\repository\\\\org\\\\mapstruct\\\\mapstruct\\\\1.3.1.Final\\\\mapstruct-1.3.1.Final.jar;C:\\\\Users\\\\Edsion.xxx\\\\.m2\\\\repository\\\\io\\\\springfox\\\\springfox-spring-webmvc\\\\3.0.0\\\\springfox-spring-webmvc-3.0.0.jar;C:\\\\Users\\\\Edsion.xxx\\\\.m2\\\\repository\\\\io\\\\springfox\\\\springfox-core\\\\3.0.0\\\\springfox-core-3.0.0.jar;C:\\\\Users\\\\Edsion.xxx\\\\.m2\\\\repository\\\\io\\\\springfox\\\\springfox-oas\\\\3.0.0\\\\springfox-oas-3.0.0.jar;C:\\\\Users\\\\Edsion.xxx\\\\.m2\\\\repository\\\\io\\\\swagger\\\\core\\\\v3\\\\swagger-models\\\\2.1.2\\\\swagger-models-2.1.2.jar;C:\\\\Users\\\\Edsion.xxx\\\\.m2\\\\repository\\\\io\\\\springfox\\\\springfox-bean-validators\\\\3.0.0\\\\springfox-bean-validators-3.0.0.jar;C:\\\\Users\\\\Edsion.xxx\\\\.m2\\\\repository\\\\io\\\\swagger\\\\swagger-models\\\\1.5.22\\\\swagger-models-1.5.22.jar;C:\\\\Users\\\\Edsion.xxx\\\\.m2\\\\repository\\\\io\\\\swagger\\\\swagger-core\\\\1.5.22\\\\swagger-core-1.5.22.jar;C:\\\\Users\\\\Edsion.xxx\\\\.m2\\\\repository\\\\org\\\\apache\\\\commons\\\\commons-lang3\\\\3.12.0\\\\commons-lang3-3.12.0.jar;C:\\\\Users\\\\Edsion.xxx\\\\.m2\\\\repository\\\\com\\\\fasterxml\\\\jackson\\\\dataformat\\\\jackson-dataformat-yaml\\\\2.13.3\\\\jackson-dataformat-yaml-2.13.3.jar;C:\\\\Users\\\\Edsion.xxx\\\\.m2\\\\repository\\\\com\\\\google\\\\guava\\\\guava\\\\27.0.1-android\\\\guava-27.0.1-android.jar;C:\\\\Users\\\\Edsion.xxx\\\\.m2\\\\repository\\\\com\\\\google\\\\guava\\\\failureaccess\\\\1.0.1\\\\failureaccess-1.0.1.jar;C:\\\\Users\\\\Edsion.xxx\\\\.m2\\\\repository\\\\com\\\\google\\\\guava\\\\listenablefuture\\\\9999.0-empty-to-avoid-conflict-with-guava\\\\listenablefuture-9999.0-empty-to-avoid-conflict-with-guava.jar;C:\\\\Users\\\\Edsion.xxx\\\\.m2\\\\repository\\\\com\\\\google\\\\code\\\\findbugs\\\\jsr305\\\\3.0.2\\\\jsr305-3.0.2.jar;C:\\\\Users\\\\Edsion.xxx\\\\.m2\\\\repository\\\\org\\\\checkerframework\\\\checker-compat-qual\\\\2.5.2\\\\checker-compat-qual-2.5.2.jar;C:\\\\Users\\\\Edsion.xxx\\\\.m2\\\\repository\\\\com\\\\google\\\\errorprone\\\\error_prone_annotations\\\\2.2.0\\\\error_prone_annotations-2.2.0.jar;C:\\\\Users\\\\Edsion.xxx\\\\.m2\\\\repository\\\\com\\\\google\\\\j2objc\\\\j2objc-annotations\\\\1.1\\\\j2objc-annotations-1.1.jar;C:\\\\Users\\\\Edsion.xxx\\\\.m2\\\\repository\\\\org\\\\codehaus\\\\mojo\\\\animal-sniffer-annotations\\\\1.17\\\\animal-sniffer-annotations-1.17.jar;C:\\\\Users\\\\Edsion.xxx\\\\.m2\\\\repository\\\\javax\\\\validation\\\\validation-api\\\\2.0.1.Final\\\\validation-api-2.0.1.Final.jar;C:\\\\Users\\\\Edsion.xxx\\\\.m2\\\\repository\\\\io\\\\springfox\\\\springfox-boot-starter\\\\3.0.0\\\\springfox-boot-starter-3.0.0.jar;C:\\\\Users\\\\Edsion.xxx\\\\.m2\\\\repository\\\\io\\\\springfox\\\\springfox-data-rest\\\\3.0.0\\\\springfox-data-rest-3.0.0.jar;C:\\\\Users\\\\Edsion.xxx\\\\.m2\\\\repository\\\\com\\\\fasterxml\\\\classmate\\\\1.5.1\\\\classmate-1.5.1.jar;C:\\\\Users\\\\Edsion.xxx\\\\.m2\\\\repository\\\\org\\\\springframework\\\\plugin\\\\spring-plugin-core\\\\2.0.0.RELEASE\\\\spring-plugin-core-2.0.0.RELEASE.jar;C:\\\\Users\\\\Edsion.xxx\\\\.m2\\\\repository\\\\org\\\\springframework\\\\plugin\\\\spring-plugin-metadata\\\\2.0.0.RELEASE\\\\spring-plugin-metadata-2.0.0.RELEASE.jar;C:\\\\Users\\\\Edsion.xxx\\\\.m2\\\\repository\\\\com\\\\github\\\\xiaoymin\\\\knife4j-spring-ui\\\\3.0.2\\\\knife4j-spring-ui-3.0.2.jar;C:\\\\Users\\\\Edsion.xxx\\\\.m2\\\\repository\\\\com\\\\alibaba\\\\fastjson\\\\1.2.76\\\\fastjson-1.2.76.jar;C:\\\\Users\\\\Edsion.xxx\\\\.m2\\\\repository\\\\commons-lang\\\\commons-lang\\\\2.6\\\\commons-lang-2.6.jar;C:\\\\Users\\\\Edsion.xxx\\\\.m2\\\\repository\\\\com\\\\baomidou\\\\mybatis-plus-boot-starter\\\\3.4.2\\\\mybatis-plus-boot-starter-3.4.2.jar;C:\\\\Users\\\\Edsion.xxx\\\\.m2\\\\repository\\\\com\\\\baomidou\\\\mybatis-plus\\\\3.4.2\\\\mybatis-plus-3.4.2.jar;C:\\\\Users\\\\Edsion.xxx\\\\.m2\\\\repository\\\\com\\\\baomidou\\\\mybatis-plus-extension\\\\3.4.2\\\\mybatis-plus-extension-3.4.2.jar;C:\\\\Users\\\\Edsion.xxx\\\\.m2\\\\repository\\\\com\\\\baomidou\\\\mybatis-plus-core\\\\3.4.2\\\\mybatis-plus-core-3.4.2.jar;C:\\\\Users\\\\Edsion.xxx\\\\.m2\\\\repository\\\\com\\\\baomidou\\\\mybatis-plus-annotation\\\\3.4.2\\\\mybatis-plus-annotation-3.4.2.jar;C:\\\\Users\\\\Edsion.xxx\\\\.m2\\\\repository\\\\com\\\\github\\\\jsqlparser\\\\jsqlparser\\\\4.0\\\\jsqlparser-4.0.jar;C:\\\\Users\\\\Edsion.xxx\\\\.m2\\\\repository\\\\org\\\\mybatis\\\\mybatis\\\\3.5.6\\\\mybatis-3.5.6.jar;C:\\\\Users\\\\Edsion.xxx\\\\.m2\\\\repository\\\\org\\\\mybatis\\\\mybatis-spring\\\\2.0.5\\\\mybatis-spring-2.0.5.jar;C:\\\\Users\\\\Edsion.xxx\\\\.m2\\\\repository\\\\org\\\\springframework\\\\boot\\\\spring-boot-autoconfigure\\\\2.7.0\\\\spring-boot-autoconfigure-2.7.0.jar;C:\\\\Users\\\\Edsion.xxx\\\\.m2\\\\repository\\\\org\\\\springframework\\\\boot\\\\spring-boot-starter-jdbc\\\\2.7.0\\\\spring-boot-starter-jdbc-2.7.0.jar;C:\\\\Users\\\\Edsion.xxx\\\\.m2\\\\repository\\\\com\\\\zaxxer\\\\HikariCP\\\\4.0.3\\\\HikariCP-4.0.3.jar;C:\\\\Users\\\\Edsion.xxx\\\\.m2\\\\repository\\\\org\\\\springframework\\\\spring-jdbc\\\\5.3.20\\\\spring-jdbc-5.3.20.jar;C:\\\\Users\\\\Edsion.xxx\\\\.m2\\\\repository\\\\org\\\\springframework\\\\spring-tx\\\\5.3.20\\\\spring-tx-5.3.20.jar;C:\\\\Users\\\\Edsion.xxx\\\\.m2\\\\repository\\\\mysql\\\\mysql-connector-java\\\\8.0.29\\\\mysql-connector-java-8.0.29.jar com.example.bigdemo.BigdemoApplication\\n\" +\n" +
            "            \"\\n\" +\n" +
            "            \"  .   ____          _            __ _ _\\n\" +\n" +
            "            \" /\\\\\\\\ / ___'_ __ _ _(_)_ __  __ _ \\\\ \\\\ \\\\ \\\\\\n\" +\n" +
            "            \"( ( )\\\\___ | '_ | '_| | '_ \\\\/ _` | \\\\ \\\\ \\\\ \\\\\\n\" +\n" +
            "            \" \\\\\\\\/  ___)| |_)| | | | | || (_| |  ) ) ) )\\n\" +\n" +
            "            \"  '  |____| .__|_| |_|_| |_\\\\__, | / / / /\\n\" +\n" +
            "            \" =========|_|==============|___/=/_/_/_/\\n\" +\n" +
            "            \" :: Spring Boot ::                (v2.7.0)\\n\" +\n" +
            "            \"\\n\" +\n" +
            "            \"  INFO 7140 --- [           main] com.example.bigdemo.BigdemoApplication   : Starting BigdemoApplication using Java 11.0.11 on Edsion的Windows设备 with PID 7140 (B:\\\\Snmp\\\\bigdemo\\\\target\\\\classes started by Edsion.xxx in B:\\\\Snmp\\\\bigdemo)\\n\" +\n" +
            "            \"  INFO 7140 --- [           main] com.example.bigdemo.BigdemoApplication   : No active profile set, falling back to 1 default profile: \\\"default\\\"\\n\" +\n" +
            "            \"  INFO 7140 --- [           main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat initialized with port(s): 8900 (http)\\n\" +\n" +
            "            \"  INFO 7140 --- [           main] o.a.catalina.core.AprLifecycleListener   : Loaded Apache Tomcat Native library [1.2.31] using APR version [1.7.0].\\n\" +\n" +
            "            \"  INFO 7140 --- [           main] o.a.catalina.core.AprLifecycleListener   : APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true], UDS [true].\\n\" +\n" +
            "            \"  INFO 7140 --- [           main] o.a.catalina.core.AprLifecycleListener   : APR/OpenSSL configuration: useAprConnector [false], useOpenSSL [true]\\n\" +\n" +
            "            \"  INFO 7140 --- [           main] o.a.catalina.core.AprLifecycleListener   : OpenSSL successfully initialized [OpenSSL 1.1.1l  24 Aug 2021]\\n\" +\n" +
            "            \"  INFO 7140 --- [           main] o.apache.catalina.core.StandardService   : Starting service [Tomcat]\\n\" +\n" +
            "            \"  INFO 7140 --- [           main] org.apache.catalina.core.StandardEngine  : Starting Servlet engine: [Apache Tomcat/9.0.63]\\n\" +\n" +
            "            \"  INFO 7140 --- [           main] o.a.c.c.C.[Tomcat].[localhost].[/]       : Initializing Spring embedded WebApplicationContext\\n\" +\n" +
            "            \"  INFO 7140 --- [           main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1105 ms\\n\" +\n" +
            "            \"Logging initialized using 'class org.apache.ibatis.logging.stdout.StdOutImpl' adapter.\\n\" +\n" +
            "            \"Property 'mapperLocations' was not specified.\\n\" +\n" +
            "            \" _ _   |_  _ _|_. ___ _ |    _ \\n\" +\n" +
            "            \"| | |\\\\/|_)(_| | |_\\\\  |_)||_|_\\\\ \\n\" +\n" +
            "            \"     /               |         \\n\" +\n" +
            "            \"                        3.4.2 \\n\" +\n" +
            "            \"This primary key of \\\"id\\\" is primitive !不建议如此请使用包装类 in Class: \\\"com.example.bigdemo.logmode.pojo.snmplogger\\\"\\n\" +" +
            "            \"  INFO 7140 --- [           main] w.s.c.ServletWebServerApplicationContext :设备暂无故障";
    @Override
    public void testAddLogger() {
        SimpleDateFormat formatter= new SimpleDateFormat("yyyy-MM-dd 'at' HH:mm:ss z");
        Date date = new Date(System.currentTimeMillis());
        System.out.println();
        snmplogger s1 = new snmplogger();
        s1.setTime(formatter.format(date));
        Logger getlogger = getMessageIMPL.getLogger();
        s1.setType(getlogger.toString());
        s1.setLogger(GET);
        snmploggerMapper.insert(s1);


        snmplogger s2 = new snmplogger();
        s2.setTime(formatter.format(date));
        Logger setlogger = snmpIMPL.getSetlogger();
        s2.setType(setlogger.toString());
        s2.setLogger(SET);
        snmploggerMapper.insert(s2);

        snmplogger s3 = new snmplogger();
        s3.setTime(formatter.format(date));
        Logger traplogger = trapIMPL.getTraplogger();
        s3.setType(traplogger.toString());
        s3.setLogger(TRAP);
        snmploggerMapper.insert(s3);

    }

    @Override
    public Iterable<snmplogger> findAll() {
        return snmploggerMapper2.findAll();
    }

    @Override
    public void deleteAll() {
        snmploggerMapper2.deleteAllInBatch();
    }


}
